package com.ynsj.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ynsj.domain.WorkIssue;
import com.baomidou.mybatisplus.extension.service.IService;
public interface WorkIssueService extends IService<WorkIssue>{

    /**
     * 回复工单
     * @param id
     * @param answer
     * @return
     */
    boolean updateAnswer(Long id, String answer);

    /**
     * 分页查询客服工单
     * @param page
     * @param status
     * @param startTime
     * @param endTime
     * @return
     */
    Page<WorkIssue> findByPage(Page<WorkIssue> page, Integer status, String startTime, String endTime);

}
